export default [
  // {
  //   path: '/',
  //   redirect: '/login',
  //   meta: {
  //     title: 'Element UI后台管理系统'
  //   }
  // },
  {
    path: '/login',
    name: 'login',
    meta: {
      title: '登录',
      needTabbar: false
    },
    component: () => import('@/views/Login/index')
  },
  {
    path: '/',
    name: 'Home',
    meta: {
      title: '首页',
      needTabbar: false
    },
    component: () => import('@/views/Layout/index'),
    children:[
      {
        path: '/', // 首页
        name:'/',
        component: () => import('@/views/Home/index'),
      },
      {
        path: '/datalist', // 数据列表
        name:'datalist',
        component: () => import('@/views/DataList/index'),
      },
      {
        path: '/MonitoringData', // 监控数据
        name:'MonitoringData',
        component: () => import('@/views/MonitoringData/index'),
      },
      {
        path: '/mapData', // 地图数据
        name:'mapData',
        component: () => import('@/views/MapData/index'),
      },
      {
        path: '/setting', // 设置
        name:'setting',
        component: () => import('@/views/System/Setting/index'),
      },
      {
        path: '/animejs', // 设置
        name:'animejs',
        component: () => import('@/views/Animejs/index'),
      },
    ]
  },
];
